<?php
$this->load->view('header');
?>


<div id="main_content">
<div class="titlebar"><?= $title;?></div>
<div class="top_margin"></div>
<div class="homepage_mid_column">
<?php $this->load->view('user/user_leftnav');?>

<div class="book_charts2">
    <form name="msg_form" action="<?=site_url()?>/user/send_msg" method="post">
          <p align="left">&nbsp;&nbsp;&nbsp;标题:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="theme" size="40" value="<?=$msg['theme']?>"></p>
          <p align="left">&nbsp;&nbsp;&nbsp;收件人:&nbsp;&nbsp;<input type="text" name="receiver" size="40" value="<?=$msg['receiver']?>"></p>
          <p align="left">&nbsp;&nbsp;&nbsp;内容:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;内容大小不得大于300个字符。<font color="red"><?=$warning?></font></p>
          <p style="padding:0 0 0 55px"><textarea name="content" rows="5" cols="60" ><?echo $msg['content']?></textarea></p>
          <p align="center"><input type="submit" value="提交"></p>
    </form>
</div>
</div> <!--homepage_mid_column-->
</div>

<?php
$this->load->view('footer2');
?>